﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//
using PerceptiveMCAPI;
using PerceptiveMCAPI.Types;

namespace PerceptiveMCAPI_UI.Controls.show
{
   public partial class show_listStaticSegments : System.Web.UI.UserControl
   {
      public string header { get; set; }
      public List<listStaticSegmentsResults> results { get; set; }
      //
      public void Display( listStaticSegmentsOutput output )
      {
         header = string.Format( "List Id: {0}; Segment Count: {1}", output.inputParms.id, output.result.Count );
         results = output.result;
         //
         this.Visible = true;
      }
   }
}
